import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { NzSwitchModule } from 'ng-zorro-antd/switch';

@Component({
  selector: 'app-switch-basic',
  standalone: true,
  imports: [NzSwitchModule, FormsModule],
  template: `
    <p class="demo">
      <nz-switch [(ngModel)]="value"></nz-switch>
    </p>
  `,
})
export class SwitchBasicComponent {
  value = false;
}
